package com.computec.tray;


/*
 * EmailDto.java
 *
 * Created on 6 de julio de 2006, 8:44
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */


import java.util.List;

public class EmailDto implements java.io.Serializable {
    
    private List recipients;
    private List attachments;
    private String subject;
    private String message;
    private String from;
    
    /** Creates a new instance of EmailDto */
    public EmailDto() {
    }   

    public String toString() {
        return "EmailDto: \n " + 
               "recipients: " + getRecipients() + "\n" +
               "subject: " + getSubject() + "\n" +
               "message: " + getMessage() + "\n" +
               "from: " + getFrom();
    }

    public List getRecipients() {
        return recipients;
    }

    public void setRecipients(List recipients) {
        this.recipients = recipients;
    }

    public List getAttachments() {
        return attachments;
    }

    public void setAttachments(List attachments) {
        this.attachments = attachments;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }
}
